package com.mengshu.mybatisplus.basic;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;

import java.util.List;

public interface BasicMapper<T extends BasicPO> extends BaseMapper<T> {

    default List<T> list() {
        return selectList(Wrappers.emptyWrapper());
    }
}
